package com.atguigu.gmall.feign.pay;


import com.atguigu.gmall.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@RequestMapping("/api/inner/payment")
@FeignClient("service-order")
public interface PayFeignClient {


    /**
     * 验证签名
     * @param params
     * @return
     */
    @PostMapping("/check/sign")
    Result checkSign(@RequestBody Map<String,String> params);


}
